package com.wyzz.hr.action;

public class ClientThread {

	public ClientThread() {
	}

	public static void setClient(String newClient) {
		getImpl().setClient(newClient);
	}

	public static String getClient() {
		return getImpl().getClient();
	}

	private static ClientThreadImpl getImpl() {
		ClientThreadImpl impl = (ClientThreadImpl) thlocal.get();
		if (impl == null) {
			impl = new ClientThreadImpl();
			thlocal.set(impl);
		}
		return impl;
	}

	private static ThreadLocal thlocal = new ThreadLocal();

}
